﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SetTransformTo : MonoBehaviour
{
    [Header("场景光照")]public GameObject mainLight;//场景光
    
    // Update is called once per frame
    void Update()
    {
        this.transform.rotation = mainLight.transform.rotation;
    }
}
